import Vue from 'vue'
Vue.mixin({
    methods: {
        hasAuth(perm) {
            let authority = window.sessionStorage.getItem("permList")
            // console.log(authority)
            return authority.indexOf(perm) > -1
        }
    }
})
